<template>
  <router-view #default="{ Component }">
<!--    <transition name="app">-->
      <Component :is="Component" />
<!--    </transition>-->
  </router-view>
</template>

<script setup>
import IM from '@/ws/index'
import { useStore } from "vuex";

const store = useStore()

if (store.getters.hasLogin) {
  IM.init()
}

</script>

<style>
.w-e-text-placeholder{
  top: 4px!important;
}
</style>
